import 'package:ac/page/ac_about/ac_about_binding.dart';
import 'package:ac/page/ac_about/ac_about_view.dart';
import 'package:ac/page/ac_blocked_list/ac_blocked_list_binding.dart';
import 'package:ac/page/ac_blocked_list/ac_blocked_list_view.dart';
import 'package:ac/page/ac_chat/ac_chat_view.dart';
import 'package:ac/page/ac_edit_profile/ac_edit_profile_binding.dart';
import 'package:ac/page/ac_edit_profile/ac_edit_profile_view.dart';
import 'package:ac/page/ac_goods/ac_goods_binding.dart';
import 'package:ac/page/ac_goods/ac_goods_view.dart';
import 'package:ac/page/ac_guide/ac_guide_binding.dart';
import 'package:ac/page/ac_guide/ac_guide_view.dart';
import 'package:ac/page/ac_home/ac_home_binding.dart';
import 'package:ac/page/ac_home/ac_home_view.dart';
import 'package:ac/page/ac_login/ac_login_binding.dart';
import 'package:ac/page/ac_login/ac_login_view.dart';
import 'package:ac/page/ac_my_posts/ac_my_posts_binding.dart';
import 'package:ac/page/ac_my_posts/ac_my_posts_view.dart';
import 'package:ac/page/ac_post_list/ac_post_detail/ac_post_detail_binding.dart';
import 'package:ac/page/ac_post_list/ac_post_list_binding.dart';
import 'package:ac/page/ac_post_list/ac_post_list_view.dart';
import 'package:ac/page/ac_publish/ac_publish_binding.dart';
import 'package:ac/page/ac_publish/ac_publish_view.dart';
import 'package:ac/page/ac_setting/ac_setting_binding.dart';
import 'package:ac/page/ac_setting/ac_setting_view.dart';
import 'package:ac/page/ac_splash/ac_splash_binding.dart';
import 'package:ac/page/ac_user_detail/ac_user_detail_view.dart';
import 'package:ac/page/ac_web_view/ac_web_view_binding.dart';
import 'package:ac/page/ac_web_view/ac_web_view_view.dart';
import 'package:get/get_navigation/src/routes/get_route.dart';

import '../page/ac_chat/ac_chat_binding.dart';
import '../page/ac_post_list/ac_post_detail/ac_post_detail_view.dart';
import '../page/ac_splash/ac_splash_view.dart';
import '../page/ac_user_detail/ac_user_detail_binding.dart';

class AcRouteNames {
  static const splash = '/';
  static const home = '/home';
  static const login = '/login';
  static const guide = '/guide';
  static const webview = '/webview';
  static const postList = '/postList';
  static const postDetail = '/postDetail';
  static const userDetail = '/userDetail';
  static const publish = '/publish';
  static const myPosts = '/my_posts';
  static const blockedListPage = '/blockedListPage';
  static const about = '/about';
  static const setting = '/setting';
  static const chatPage = '/chatPage';
  static const editProfile = '/editProfile';
  static const goodsPage = '/goodsPage';
}

class AcRoutePages {
  static const initial = AcRouteNames.splash;
  static final routes = [
    GetPage(
      name: AcRouteNames.splash,
      page: () => AcSplashPage(),
      binding: AcSplashBinding(),
    ),
    GetPage(
      name: AcRouteNames.guide,
      page: () => AcGuidePage(),
      binding: AcGuideBinding(),
    ),
    GetPage(
      name: AcRouteNames.home,
      page: () => AcHomePage(),
      binding: AcHomeBinding(),
    ),
    GetPage(
      name: AcRouteNames.login,
      page: () => AcLoginPage(),
      binding: AcLoginBinding(),
    ),
    GetPage(
      name: AcRouteNames.webview,
      page: () => const AcWebViewPage(),
      binding: AcWebViewBinding(),
    ),
    GetPage(
      name: AcRouteNames.postList,
      page: () => AcPostListPage(),
      binding: AcPostListBinding(),
    ),
    GetPage(
      name: AcRouteNames.postDetail,
      page: () => AcPostDetailPage(),
      binding: AcPostDetailBinding(),
    ),
    GetPage(
      name: AcRouteNames.userDetail,
      page: () => AcUserDetailPage(),
      binding: AcUserDetailBinding(),
    ),
    GetPage(
      name: AcRouteNames.publish,
      page: () => AcPublishPage(),
      binding: AcPublishBinding(),
    ),
    GetPage(
      name: AcRouteNames.myPosts,
      page: () => AcMyPostsPage(),
      binding: AcMyPostsBinding(),
    ),
    GetPage(
      name: AcRouteNames.blockedListPage,
      page: () => AcBlockedListPage(),
      binding: AcBlockedListBinding(),
    ),
    GetPage(
      name: AcRouteNames.about,
      page: () => AcAboutPage(),
      binding: AcAboutBinding(),
    ),
    GetPage(
      name: AcRouteNames.setting,
      page: () => AcSettingPage(),
      binding: AcSettingBinding(),
    ),
    GetPage(
      name: AcRouteNames.chatPage,
      page: () => AcChatPage(),
      binding: AcChatBinding(),
    ),
    GetPage(
      name: AcRouteNames.editProfile,
      page: () => AcEditProfilePage(),
      binding: AcEditProfileBinding(),
    ),
    GetPage(
      name: AcRouteNames.goodsPage,
      page: () => AcGoodsPage(),
      binding: AcGoodsBinding(),
    ),
  ];
}
